Biofeedback training via app on smartphone